import { h, Component } from 'preact';
import classNames from 'classnames';
import './index.scss'
const Alert = ({ children, type, className, ...other }) => (
	<div class={classNames(className, 'alert', { [`alert-${type}`]: !!type })} role="alert" >
		{ children }
	</div >
);

Alert.propTypes = {

};

export default Alert;
